package basic2;

public class J02_Arithmatic {

	public static void main(String[] args) {
		
		//자료형 변환
		double number = (1/3)*3;
		//실수리터럴을 지정 (자동변화/int형으로 바꾸려면 숫자뒤에 .를 써준다)
		//double number = (1./3)*3;
		//자료형 변환(강제변환/명시적)
		//double number = ((float)1/3)*3;
		int remainder = 7%3;
		int quotient = 7/3;
		int result=11; result/=2;
		
		System.out.println(number);
		System.out.println(remainder);
		System.out.println(quotient);
		System.out.println(result);
		
		

	}

}

